package com.mrjy.queries.controller;

import com.mrjy.common.entity.RecordInfo;
import com.mrjy.queries.bo.IRecordInfoBo;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.annotation.Resource;

@Controller
@RequestMapping("/queries/recordInfo")
public class RecordInfoController {
    @Resource
    private IRecordInfoBo recordInfoBo;

    @RequestMapping("/insert")
    @ResponseBody
    public Object insert(RecordInfo info) {
        return recordInfoBo.insert(info);
    }

}
